import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import answer from '@/components/answer.vue'
import result from '@/components/result.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: HelloWorld,
    },
    {
      path:'/answer',
      component:answer
    },
    {
      path:'/result',
      name:'result',
      component:result
    }
  ]
})
